import 'package:dailoz/generated/l10n.dart';
import 'package:dailoz/size_config.dart';
import 'package:flutter/material.dart';

class LoginSignUpDivider extends StatelessWidget {
  const LoginSignUpDivider({
    Key? key,
  }) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Row(
      children: <Widget>[
        const Expanded(
          child: Divider(
            color: Color(0xffc6cedd),
          ),
        ),
        Padding(
          padding: EdgeInsets.symmetric(
            horizontal: SizeConfig.getProportionateScreenWidth(21.0),
          ),
          child: Text(
            S.of(context).orWith,
            style: const TextStyle(
              color: Color(0xffc6cedd),
            ),
          ),
        ),
        const Expanded(
          child: Divider(),
        ),
      ],
    );
  }
}
